package com.hhxy.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author ghp
 * @date 2023/5/5
 * @title
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户信息修改数据传输对象")
public class ChangeUserStatusDto {
    /**
     * 用户主键ID
     */
    @ApiModelProperty(value = "用户id", dataType = "Long", required = true)
    @NotNull(message = "用户id不能为空")
    private Long userId;
    /**
     * 用户状态 0-正常 1-禁用
     */
    @ApiModelProperty(value = "用户状态", notes = "0-正常 1-禁用", required = true)
    private String status;
}
